package cn.itcast.wanxinp2p.consumer.service;


import cn.itcast.wanxinp2p.consumer.model.comsumer.ConsumerRegisterDTO;

/**
 * @email 1572178030@qq.com
 * @author:黄海宾
 * @date: 2023/3/30  22:14
 */
public interface ConsumerService  {
    /**
     * 检测用户是否存在
     * @param mobile
     * @return
     */
    Integer checkMobile(String mobile);
    /**
     * 用户注册
     * @param consumerRegisterDTO
     * @return
     */
    void register(ConsumerRegisterDTO consumerRegisterDTO);
}
